package com.wyl.showtype.basic.diagram.gojs;

import java.util.List;

/**
 * 图结构数据
 * @author 吴宇亮 on 2022/10/18 11:33
 */
public class GojsDiagramData<N extends GojsNode, L extends GojsLink> {

    private List<N> nodes;
    private List<L> links;

    public List<N> getNodes() {
        return nodes;
    }

    public GojsDiagramData<N, L> setNodes(List<N> nodes) {
        this.nodes = nodes;
        return this;
    }

    public List<L> getLinks() {
        return links;
    }

    public GojsDiagramData<N, L> setLinks(List<L> links) {
        this.links = links;
        return this;
    }
}
